package eu.jba.denshijisho.entity;

import java.io.Serializable;

import eu.jba.denshijisho.util.WithId;

public class CardNote implements WithId, Serializable{

	private static final long serialVersionUID = -2807712263966997543L;
	
	private Integer id;
	private Integer cardId;
	private Integer noteId;

	public CardNote(Integer cardId, Integer noteId) {
		super();
		this.cardId = cardId;
		this.noteId = noteId;
	}	
	
	public CardNote(Integer id, Integer cardId, Integer noteId) {
		super();
		this.id = id;
		this.cardId = cardId;
		this.noteId = noteId;
	}

	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public Integer getNoteId() {
		return noteId;
	}

	public void setNoteId(Integer noteId) {
		this.noteId = noteId;
	}

	@Override
	public Integer getId() {
		return id;
	}
}
